import {Authority} from "../request";

const { post, get } = Authority

//
// 官网菜单列表
export const getWebsiteList= params => get('/menu-web/v1/queryList', { params })
// 官网菜单新增

export const getWebsiteAdd = params => post('/menu-web/v1/add', params)

// 官网菜单更新
export const getWebsiteUpdate = params => post('/menu-web/v1/update', params)
// 官网菜单停用启用
export const getWebsiteValidate = params => post('/menu-web/v1/validate', params)

// 官网菜单排序
export const websitePointSort = params => post('/menu-web/v1/updateWeight', params)
